package com.sugar.psych.assessment.module.business.controller.admin.configrisklevel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 风险等级配置新增/修改 Request VO")
@Data
public class ConfigRiskLevelSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "23531")
    private Long id;

    @Schema(description = "风险等级（字典表：business_psych_question_risk_level）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "风险等级（字典表：business_psych_question_risk_level）不能为空")
    private String riskLevel;

    @Schema(description = "最低分值（包含）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "最低分值（包含）不能为空")
    private Integer minVal;

    @Schema(description = "最高分值（包含）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "最高分值（包含）不能为空")
    private Integer maxVal;

    @Schema(description = "内容信息", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "内容信息不能为空")
    private String content;
}